﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ProductionManagement.Domain.Dtos.SendWorkersForQualityInspectionDTOS
{
    public class SendWorkersForQualityInspectionUpdateDtos
    {
        public int SendWorkersForQualityInspectionId { get; set; }
        /// <summary>
        /// 派工质检编号
        /// </summary>
        public string? SWFQICode { get; set; }
        /// <summary>
        /// 派工质检日期
        /// </summary>
        public DateTime? SWFIDate { get; set; }
        /// <summary>
        /// 来源类型
        /// </summary>
        public string? SWFISource { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? PName { get; set; }
        /// <summary>
        /// 产品编号
        /// </summary>
        public string? PNumber { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        /// 
        public string? PSpec { get; set; }
        /// <summary>
        /// 质检人员
        /// </summary>
        public string? SWFIPeople { get; set; }
        /// <summary>
        /// 制单人员
        /// </summary>
        public string? SWFIPersonnel { get; set; }
        /// <summary>
        /// 制单日期
        /// </summary>
        public DateTime? PersonnelTime { get; set; }
        /// <summary>
        /// 质检类型
        /// </summary>
        public string? TypeOfQC { get; set; }
        /// <summary>
        /// 质检数量
        /// </summary>
        public int? TheNumberOfSubmissions { get; set; }
        /// <summary>
        /// 返工数量
        /// </summary>
        public int? NumberOfRework { get; set; }
        /// <summary>
        /// 报废数量
        /// </summary>
        public int? ScrappedQuantity { get; set; }
        /// <summary>
        /// 合格数量
        /// </summary>
        public int? QualifiedQuantity { get; set; }
        /// <summary>
        /// 合格率
        /// </summary>
        public decimal? Rate { get; set; }
        /// <summary>
        /// 质检结果
        /// </summary>
        public string? QualityInspectionResults { get; set; }
        /// <summary>
        /// 不合格原因
        /// </summary>
        public string? Cause { get; set; }
        /// <summary>
        /// 添加人姓名
        /// </summary>
        public string? AddName { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? AddTime { get; set; }


        /// <summary>
        /// 删除人姓名
        /// </summary>
        public string? DelName { get; set; }

        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DelTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool? IsDel { get; set; } = false;
        /// <summary>
        /// 公司id
        /// </summary>
        public string? Office_Id { get; set; }

        /// <summary>
        /// 用户id
        /// </summary>
        public int? User_Id { get; set; }
        /// <summary>
        /// 修改人姓名
        /// </summary>
        public string? UpdName { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdTime { get; set; }
    }
}
